package org.csmzxy.class06;

public class examlpe18 {public static void main(String[] args) {
    DeviceController controller = new DeviceController("设备控制器");
    controller.connectToDevice();
    DeviceController.Device device = controller.new Device("设备1");
    device.powerOn();
    device.powerOff();
}
}
